package com.ericsson.common.quartz.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;

/**
 * @description:
 * @author: wangjingshi
 * @create: 2020-12-04 14:33
 */
@Slf4j
@Service
public class TestCronTask {

    public void test1() {
        LocalDateTime time = LocalDateTime.now();
        log.warn("good!good!study!:当前时间=" + time.getHour() + "时" + time.getMinute() + "分" + time.getSecond() + "秒"+System.currentTimeMillis());
    }


}
